<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="tag" uri="http://www.springframework.org/tags"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<link rel="stylesheet"
	href="<%=request.getContextPath()%>/resources/css/form.css"
	type="text/css" />
</head>
<div class="form">
	<form:form commandName="worker">
		<ol>
			<table border="0">
				<tr>
					<td>
						<form:label path="username">
							<tag:message code="worker.username" />
						</form:label></td>
					<td>
						<form:input path="username" /> 
						<form:errors path="username" />
					</td>
				</tr>
				<tr>
					<td>
						<form:label path="name">
							<tag:message code="worker.name" />
						</form:label>
					</td>
					<td>
						<form:input path="name" /> 
						<form:errors path="name" />
					</td>
				</tr>
				<tr>
					<td>
						<form:label path="surname">
							<tag:message code="worker.surname" />
						</form:label>
					</td>
					<td>
						<form:input path="surname" />
						<form:errors path="surname" />
					</td>
				</tr>
				<tr>
					<td>
						<form:label path="emailAdress">
							<tag:message code="worker.emailAdress" />
						</form:label>
					</td>
					<td>
						<form:input path="emailAdress" />
						<form:errors path="emailAdress" />
					</td>
				</tr>
				<tr>
					<td>
						<form:label path="numberOfFreeDays">
							<tag:message code="worker.numberOfFreeDays" />
						</form:label>
					</td>
					<td>
						<form:input path="numberOfFreeDays" />
						<form:errors path="numberOfFreeDays" />
					</td>
				</tr>
				<tr>
					<td>
						<form:label path="telephoneNumber">
							<tag:message code="worker.telephoneNumber" />
						</form:label>
					</td>
					<td>
						<form:input path="telephoneNumber" />
						<form:errors path="telephoneNumber" />
					</td>
				</tr>
				<tr>
					<td>
						<form:label path="password">
							<tag:message code="worker.password" />
						</form:label>
					</td>
					<td>
						<form:password path="password" />
						<form:errors path="password" />
					</td>
				</tr>
				<tr>
					<td>
						<form:label path="repeatedPassword">
							<tag:message code="worker.repeatedPassword" />
						</form:label>
					</td>
					<td>
						<form:password path="repeatedPassword" />
						<form:errors path="repeatedPassword" />
					</td>
				</tr>
				<tr>
					<td></td>
					<td><input type="submit" class="submit" /></td>
				</tr>
			</table>

		</ol>
	</form:form>
</div>
</body>